﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogModel.DAL;

namespace BlogModel
{
    public partial class Post
    {
        public override string ToString()
        {
            return string.Format("PostId: {0}\r\n\r\nTitle: {1}\r\nContent: {2}\r\nCreationDate: {3}\r\nImage: {4}\r\n\r\n\r\nBlogId: {5}\r\n", PostId, Title, Content, CreationDate, FeaturedImage, BlogId  );
        }
    }
}


